using System;

namespace RFS.Domain.PaiShi
{
    public class HolidayPlan : IHolidayPlan
    {
        public HolidayPlan(DateTime startAt=default, DateTime endAt=default, string remark="")
        {
            StartAt = startAt==default?DateTime.Today: startAt;
            EndAt = endAt==default?startAt:endAt;
            Remark = remark;
        }

        public DateTime StartAt { get; set; }
        public DateTime EndAt { get; set; }
        public string Remark { get; set; }
    }
}